package com.cqupt.service;

import com.cqupt.paging.Paging;
import com.cqupt.pojo.Goods;
import com.cqupt.pojo.User;

import java.util.List;



public interface GoodsService {
    //查询商品
    public List selectGoods();
    //查询商品分页
    public List selectPageGoods(Integer number);
    //调取图片
   public List getPicturePath(String page);
    //下架商品
    public int offlineGoods(Integer id);
    //上架商品
    public  int onlineGoods(Integer id);
    //添加商品
    public int insertGoods(Goods goods);
    //编辑商品
    public int updateGoods(Goods goods);
    //删除商品
    public  int deleteGoods(Integer id);
    //满意度提交
    public int  feedBack(User user,Integer description);
    //投诉表提交
    public  int complaint(User user,String content);
//    //投诉表分页查询首页
//    public  List   complaintListHomePage();
//    //投诉表点击页数查询
//    public Paging complaintListPage(Integer number);

}
